package com.wx.tnsbasedata.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @author 林建权
 * @version 1.0
 * @date 2020/7/25 20:10
 */

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("职位")
public class JobModel {
    @ApiModelProperty(value = "职位id",example = "123")
    private Integer id;
    @ApiModelProperty(value = "父id",example = "123")
    private Integer pid;
    @ApiModelProperty(value = "职业名/行业名")
    private String jobName;
    @ApiModelProperty(value = "层级",example = "123")
    private Integer type;
    @ApiModelProperty(value = "点击量",example = "123")
    private Integer clicks;
    @ApiModelProperty(value = "别称")
    private String anotherName;
    @ApiModelProperty(value = "子级职业/子级行业")
    private List<JobModel> children;
}
